﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MESUI.Login.EquipmentManagement.Model
{
    public class DeviceLedger:BaseEntity
    {
        /// <summary>
        /// 资产编号（自动生成）
        /// </summary>
        public string AssetNumber { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 类型(外键数据字典)
        /// </summary>
        public string TypeId { get; set; }
        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand { get; set; }
        /// <summary>
        /// 型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 供应商(外键数据字典)
        /// </summary>
        public string SupplierId { get; set; }
        /// <summary>
        /// 工厂车间(外键数据字典)
        /// </summary>
        public string WorkShopId { get; set; }
        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime DateOfManufacture { get; set; }
        /// <summary>
        /// 入厂日期
        /// </summary>
        public DateTime EntryDateToTheFactory { get; set; }
        /// <summary>
        /// 位置
        /// </summary>
        public string Location { get; set; }
        /// <summary>
        /// 部门(外键)
        /// </summary>
        public string DepartmentId { get; set; }
        /// <summary>
        /// 责任人（外键多选)
        /// </summary>
        public string PersonInChargeId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 状态（默认正常）
        /// </summary>
        public string State { get; set; }
        /// <summary>
        /// 扩展字段
        /// </summary>
        public string One { get; set; }
    }
}
